

#ifndef __MYUART_H__
#define __MYUART_H__


#include "fm33lc0xx_fl.h"
#include "string.h"
#include "stdarg.h"

// #define enableUart5() FL_RCC_EnableGroup3BusClock(FL_RCC_GROUP3_BUSCLK_UART5);FL_GPIO_EnablePinPullup(GPIOD,FL_GPIO_PIN_0)
// #define disableUart5() FL_RCC_DisableGroup3BusClock(FL_RCC_GROUP3_BUSCLK_UART5);FL_GPIO_DisablePinPullup(GPIOD,FL_GPIO_PIN_0)


void uart5Init(void);
void uart5Tx(uint8_t *data);

void enableUart5(void);
void disableUart5(void);
uint8_t myUartTxByte(uint8_t txData);
void writeHMI(void);
void txNum(int32_t d_num);
void uart5_printf(char *fmt,...);
#endif


